package org.qiyu.live.bank.provider.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description: 账户表
 * User: sfx
 * Date: 2023-11-03
 * Time: 18:50
 */
@TableName("t_qiyu_currency_trade")
public class QiyuCurrencyAccountPO {

    @TableId(type = IdType.AUTO)
    private Long userId;
    private int balance;
    private int tableCharged;
    private int status;
    private Date createTime;
    private Date updateTime;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public int getTableCharged() {
        return tableCharged;
    }

    public void setTableCharged(int tableCharged) {
        this.tableCharged = tableCharged;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "QiyuCurrencyAccountPO{" +
                "userId=" + userId +
                ", balance=" + balance +
                ", tableCharged=" + tableCharged +
                ", status=" + status +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
